<include file="public@header"/>
<style type="text/css">
    .pic-list li {
        margin-bottom: 5px;
    }
</style>

</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('project/add')}">添加解决方案</a></li>
    </ul>
    <form action="{:url('Project/solutionAddPost')}" method="post" class="form-horizontal js-ajax-form margin-top-20">
        <div class="row">
            <div class="col-md-9">
                <table class="table table-bordered">
                    <tr>
                        <input type="hidden" name='project_id' value="{$project_id}">
                        <input type="hidden" name='change_opinion_id' value="{$id}">
                        <th>申请时间</th>
                        <td>
                            <input type="text" class="form-control js-bootstrap-datetime" name="apply_time" autocomplete="off" >
                        </td>
                    </tr>
          
                    <tr>
                        <input type="hidden" name="customer_id" value="{$result.id}">
                        <th>申请人</th>
                        <td>
                            <input class="form-control" type="text""
                                   readonly  value="{$result.customer_name}" />
                        </td>
                    </tr>
                    
                    <tr>
                        <th>变更内容</th>
                        <td>
                            <input class="form-control" type="text" name="change_content"
                                     value="" placeholder="请输入变更内容"/>
                        </td>
                    </tr>
                    
                    <tr>
                        <th>解决方案</th>
                        <td>
                            <input class="form-control" type="text" name="solve_content"
                                     value="" placeholder="请输入解决方案"/>
                        </td>
                    </tr>
                    
                    <tr>
                        <th>影响范围</th>
                        <td>
                            <input class="form-control" type="text" name="effect_content"
                                     value="" placeholder="请输入影响范围"/>
                        </td>
                    </tr>
                   
                    <tr>
                        <th>难度</th>
                        <td>
                            <input class="form-control" type="text" name="difficulty"
                                     value="" placeholder="请输入难度"/>
                        </td>
                    </tr>

                    <tr>
                        <th>增加工时</th>
                        <td>
                            <input class="form-control" type="text" name="add_working_hours"
                                     value="" placeholder="请输入工时"/>
                        </td>
                    </tr>

                    <tr>
                        <th>费用</th>
                        <td>
                            <input class="form-control" type="text" name="cost"
                                     value="" placeholder="请输入费用"/>
                        </td>
                    </tr>

                </table>
                <hook name="portal_admin_article_edit_view_main"/>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
                       
                </div>
            </div>
            <div class="col-md-3">
                

                <hook name="portal_admin_article_edit_view_right_sidebar"/>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js"></script>
<script type="text/javascript">
    //关闭窗口状态  1 开 2 关  
    var status = "{$status}";
    if(status == 2)
    {
        var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
        window.parent.location.reload();//刷新父页面
        parent.layer.close(index);  // 关闭layer
    }

</script>
</body>
</html>
